import {instance} from "../../request";

export default  class BsApply{
    //分页
    static async page(query){
        return instance({
            method: "get",
            url: '/bsApply/page',
            params: query
        })
    }
    //删除
    static async del(id){
        return instance({
            method: "delete",
            url: '/bsApply/'+id
        })
    }
    //新增
    static async add(formData){

    }

    //编辑
    static async edit(formData){
        return instance({
            method: "put",
            url: '/bsApply',
            data: formData
        })
    }

    //审核
    static async audit(formData){
        return instance({
            method: "put",
            url: '/bsApply/audit',
            data: formData
        })
    }

    //分配账号
    static async allocate(formData){
        return instance({
            method: "post",
            url: '/bsApply/allocate',
            data: formData
        })
    }
}


